GtkSnapshot: Implement the builder pattern
authorMatthias Clasen <mclasen@redhat.com>
Sun, 11 Mar 2018 01:52:06 +0000 (20:52 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 Mar 2018 05:31:44 +0000 (00:31 -0500)
commite23f641e491fd85371a613dde7f90fee8924657d
tree1bcd10f8b5cf083ed47a2c7c0593d8c32a3f9258
parent7eb3736760c4b05e89aebbb833b4ca9917f280ce
GtkSnapshot: Implement the builder pattern

Make GtkSnapshot a refcounted boxed type, and add
public API that follows the builder pattern described
here: https://blogs.gnome.org/otte/2018/02/03/builders/
gtk/gtksnapshot.c
gtk/gtksnapshot.h
gtk/gtksnapshotprivate.h